package com.ssm.studen.dao;


import com.ssm.studen.model.Answer;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * 答题表：
 *      操作数据库方法的对接
 */
@Mapper
public interface AnswerDao {

    //答题表编号个数查询
    int answerIdCount(int anum);

    //答题表添加
    int insertAnswer(Answer answer);

    //答题表修改更新
    int updateAnswer(Answer answer);

    //答题表查询
    List<Answer> selectAnswer(int anum);
}
